home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
cachemon.zip
/
DEV_TAIL.A86
< prev
next >
Wrap
Text File
|
1990-03-11
|
1KB
|
51 lines
init:
es mov in_end_address,offset init
es mov in_end_address[2],cs
es mov status,0100H ; Set done bit.
es les di,in_arg_ptr
; parse the arguments
mov cx,256
mov al,' '
repne scasb ; find the space at the end of the filename
repe scasb ; skip blanks
dec di
mov ds,es
mov si,di
mov es,cs
mov di,offset my_name[1]
xor cx,cx
l1: lodsb
cmp al,0d
je done_arg
cmp al,0a
je done_arg
cmp al,0
je done_arg
stosb
inc cx
cmp cx,8
jb l1
done_arg:
mov ds,es
mov my_name,cl
call setup_int13
mov dx,Hi_mom
mov ah,09
int 021
jmp return
Hi_mom:
db 'CACHEMON copyright (c) 1990 D.J. Murdoch',0d,0a
db 'Device driver disk access monitor installed.'
db 0d,0a,0d,0a,'$'